home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ARASAN_S.ZIP / SRCLIMT2.H < prev    next >
C/C++ Source or Header  |  1994-07-17  |  853b  |  35 lines

  1. // Copyright 1993 by Jon Dart.  All Rights Reserved.
  2. #ifndef _SECONDARY_LIMIT_OPTIONS_H
  3. #define _SECONDARY_LIMIT_OPTIONS_H
  4.  
  5. // This dialog shares structure and control definitions with
  6. // the primary time control dialog
  7. #include "srclimit.h"
  8.  
  9. #include <wpp.h>
  10. #include <wpdlg.h>
  11.  
  12. class SecondaryLimitDialog : public WPDialogModal
  13. {
  14.     // handles the Secondary Time Control dialog box
  15.  
  16. public:
  17.  
  18.     SecondaryLimitDialog(WPWin *pwin, Search_Limit_Options *options);
  19.     
  20.     // override WPDlg virtual functions:
  21.     void initDlg();
  22.     void updateObject();
  23.     void updateScreen();
  24.     
  25.     BOOL command( int id, WORD msg );
  26.     
  27. private:
  28.     void new_type(int srctype);
  29.     HWND hMinutes_field, hMinutes_text;
  30.     HWND hPly_field, hPly_text;
  31.     static WPControlMap ControlMap[];
  32.     int initial_search_type;
  33. };
  34.  
  35. #endif